package com.cq.ssm.service;

import java.util.List;

import com.cq.ssm.po.Job;
import com.cq.ssm.po.Stuffdepartment;

public interface StuffdepartmentService {

	//插入一条记录
	public boolean insertStuffdepartment(Stuffdepartment stuffdepartment) throws Exception;
	//根据id删除一条记录
	public boolean deleteById(Integer id) throws Exception;
	//得到所有的部门类型
	public List<Stuffdepartment> findAll() throws Exception;
	// 根据部门id返回职位列表
	public List<Job> findAllJobs(Integer idDepartment) throws Exception;
}
